package org.wukongcrm.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
    * 客户拜访计划
    */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "customer_visit_plan")
public class CustomerVisitPlan implements Serializable {
    @TableId(value = "visit_plan_no", type = IdType.INPUT)
    private Integer visitPlanNo;

    /**
     * 拜访计划名称
     */
    @TableField(value = "visit_plan_name")
    private String visitPlanName;

    /**
     * 预计拜访时间
     */
    @TableField(value = "visit_plan_time")
    private Date visitPlanTime;

    /**
     * 客户名称
     */
    @TableField(value = "customer_id")
    private Integer customerId;

    /**
     * 联系人
     */
    @TableField(value = "contacts_id")
    private Integer contactsId;

    /**
     * 商机
     */
    @TableField(value = "business_id")
    private Integer businessId;

    /**
     * 拜访目的：收集客户需求 了解客户需求 方案沟通
     */
    @TableField(value = "visit_plan_purpose")
    private Integer visitPlanPurpose;

    /**
     * 备注
     */
    @TableField(value = "remarks")
    private String remarks;

    /**
     * 负责人id
     */
    @TableField(value = "owner_user_id")
    private Integer ownerUserId;

    /**
     * 完成状态
     */
    @TableField(value = "`status`")
    private Integer status;

    private static final long serialVersionUID = 1L;
}